function endFun(){
    setInterval(function() {
	    var circle = document.createElement('div');

	    circle.classList.add('circle');

	    var x = Math.random() * 100 + 1;
	    var y = Math.random() * 100 + 1;

	    var animationTime = Math.round(Math.random() * 10);
	    circle.style.setProperty('--grow-time', `${animationTime}s`);

	    // 设置左
	    circle.style.left = x + 'vw';
	    // 设置右
	    circle.style.top = y + 'vh';

	    // 设置颜色
	    circle.style.backgroundColor = randomColor();

	    circle.innerText = randomText();

	    // 生成
	    document.body.appendChild(circle);

	    // 清除
	    setTimeout(function() {
	        document.body.removeChild(circle);
	    }, animationTime + "000")

    }, 100);



    function randomColor() {
	    const colors = [
	        '#81ecec',
	        '#74b9ff',
	        '#a29bfe',
	        '#ffeaa7',
	        '#fab1a0',
	        '#ff7675',
	        '#fd79a8'
	    ];
	    return colors[Math.round(Math.random() * colors.length)];
    }

    function randomText() {
	    const texts = [
	        '生日快乐',
	        '健康美丽',
	        '一战成硕',
	        '不长膘',
	        '坚持所爱',
	        '保持个性'
	    ];
	    return texts[Math.round(Math.random() * (texts.length - 1))];
    }
}
